package com.example.springboot_admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.springboot_admin.dao.ICategoriesDao;
import com.example.springboot_admin.pojo.Categories;
import com.example.springboot_admin.service.ICategoriesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author svblack
 * @since 2024-09-14
 */
@Service
public class CategoriesServiceImpl extends ServiceImpl<ICategoriesDao, Categories> implements ICategoriesService {
    @Autowired
    ICategoriesDao categoriesDao;
    @Override
    public List<Categories> getCategoryList(Integer categoryid) {
        return categoriesDao.getCategoryList(categoryid);
    }
}
